using Fuse8.DomainFramework.Domain;
using Fuse8.DomainFramework.Practices.Domain.Interfaces;

namespace UnitTests.Domain
{
	public class ArticleTag : Int32EntityObject, IMappedEntity
	{
		public virtual int ArticleId { get; set; }
		public virtual int TagId { get; set; }

		public virtual Tag Tag { get; set; }
		public virtual Article Article { get; set; }

		public int OnCreatedCalls = 0;
		public void OnCreated()
		{
			OnCreatedCalls++;
		}
	}
}